const express = require('express');
const router = express.Router();

const relationService = require('../service/relationService')
const expressJoi = require('@escook/express-joi')
const { relation_update } = require('../rule/relationRule')

router.get('', relationService.relation);

router.post('/update', expressJoi(relation_update), relationService.update);



module.exports = router;
